package com.sjf.weibos.activity;

import java.util.EnumMap;

import android.app.Activity;

import com.sjf.weibos.WeiboFactory.TYPE;
import com.sjf.weibos.impl.GetAccessTokenImpl;

public class BaseActivity extends Activity{
private static EnumMap<TYPE, GetAccessTokenImpl> os=new EnumMap<TYPE, GetAccessTokenImpl>(TYPE.class);

public static GetAccessTokenImpl getTokenImpl(TYPE type) {
	return BaseActivity.os.get(type);
}

public static void setOs(TYPE type , GetAccessTokenImpl tokenImpl) {
	BaseActivity.os.put(type, tokenImpl);
}
}
